home *** CD-ROM | disk | FTP | other *** search
/ PC World Komputer 2010 April / PCWorld0410.iso / hity wydania / Ubuntu 9.10 PL / karmelkowy-koliberek-9.10-netbook-remix-PL.iso / casper / filesystem.squashfs / var / lib / dpkg / info / libgphoto2-2.postrm < prev    next >
Text File  |  2009-10-12  |  663b  |  31 lines

  1. #! /bin/sh
  2.  
  3. PACKAGE="libgphoto2"
  4.  
  5. set -e
  6.  
  7. case "$1" in
  8.     remove|purge)
  9.     rm -f /etc/hotplug/usb/$PACKAGE.usermap
  10.     rm -f /usr/share/hal/fdi/information/20thirdparty/$PACKAGE.fdi || /bin/true
  11.     rm -f /usr/share/hal/fdi/information/10freedesktop/10-camera-$PACKAGE.fdi || /bin/true
  12.     rm -f /usr/share/hal/fdi/information/10freedesktop/10-camera-$PACKAGE-device.fdi || /bin/true
  13.     ;;
  14.  
  15.     disappear|upgrade|failed-upgrade|abort-install|abort-upgrade)
  16.     ;;
  17.  
  18.     *)
  19.         echo "postrm called with unknown argument \`$1'" >&2
  20.         exit 1
  21. esac
  22.  
  23. # Automatically added by dh_makeshlibs
  24. if [ "$1" = "remove" ]; then
  25.     ldconfig
  26. fi
  27. # End automatically added section
  28.  
  29.  
  30. exit 0
  31.